#!/usr/bin/python 
# -*- coding: UTF-8 -*- 
from Tkinter import * 
top = Tk()
top.title("Hello python")
top.geometry('400x600')
top.resizable(width=True,height=True)
def go_login():
	option=Tk()
	option.title("Wellcom")
	option.geometry('200x300')
	option.resizable(width=True,height=True)

Button(top,text="登录",command = go_login).pack()
 # 进入消息循环 
top.mainloop()

